package com.xqboss.apps.vo.consumer;

import com.xqboss.common.annotation.DataMask;
import com.xqboss.common.enums.DataMaskEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 邀请记录
 *
 * @author wangcong
 * @date 2023-09-06
 */
@Data
@ApiModel("邀请记录Vo")
public class ConsumerInviteRecordVo {

    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("邀请人的id")
    private Long invitId;

    @ApiModelProperty("手机号")
    @DataMask(function = DataMaskEnum.PHONE)
    private String phone;

    @ApiModelProperty("是否实名 0否， 1是")
    private Integer isReal;

    @ApiModelProperty("是否是首次实名")
    private Boolean isFirstReal;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("奖励上级的扳手")
    private BigDecimal rewardWrenchNum;

    @ApiModelProperty("奖励上级的扳手-直推")
    private BigDecimal rewardWrenchDirectNum;

    @ApiModelProperty("奖励上级的扳手-间推")
    private BigDecimal rewardWrenchIndirectNum;

}